package cn.yu.dream.operation.biz.authority.service.impl;

import cn.yu.dream.common.mybatis.cache.ServiceCacheImpl;
import cn.yu.dream.operation.api.entity.OperationUser;
import cn.yu.dream.operation.biz.authority.mapper.OperationUserMapper;
import cn.yu.dream.operation.biz.authority.service.OperationUserService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
@RequiredArgsConstructor
public class OperationUserServiceImpl extends ServiceCacheImpl<OperationUserMapper, OperationUser>
		implements OperationUserService {

	@Override
	public OperationUser getById(Long id){
		return super.getById(id);
	}

	@Override
	public boolean updateById(OperationUser entity) {
		return super.updateById(entity);
	}

	@Override
	public boolean removeById(Long id) {
		return super.removeById(id);
	}

	@Override
	public List<OperationUser> listAll() {
		return super.list();
	}

	@Override
	public boolean save(OperationUser entity) {
		return super.save(entity);
	}


}
